<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Live HTML Preview :: Beben Koben</title>
  <meta name="description" content="Live HTML Preview">
  <meta name="author" content="Beben Koben">
<style>
#beben-koben {
  border: 1px;
  padding: 0 3px;
  margin-top: 0;
  color: #000;
  width: 100%;
}
#beben {
  width: 100%;
  height: 212px;
}
</style>
<script language="javascript">
function update(){
  document.getElementById("beben-koben").innerHTML = document.input.html.value
  setTimeout("update()",80);
}
</script>
</head>
<body>
<form name="input">
  <textarea name="html" id="beben"><h1>Header text</h1>
   <p>Just a test of <b>bold</b>, <i>italic</i>, <u>underline</u> and <s>strike</s></p>
<div style="color: blue;">
  Just a test of the font color
</div></textarea>
</form>
<div id="beben-koben">
</div>
<script type="text/javascript">
  update();
</script>
</body>
</html>